home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9993 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  996 b 

  1. Path: news.primenet.com!bjg
  2. From: Brad Grossman <bjg@primenet.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Class Pointer Array (HELP)
  5. Date: 4 Mar 1996 15:53:01 -0700
  6. Organization: Primenet (602)395-1010
  7. Sender: root@primenet.com
  8. Message-ID: <4hfs8d$a0@nnrp1.news.primenet.com>
  9. X-Posted-By: bjg@usr2.primenet.com
  10.  
  11. ....I'm trying to make a program to do the dos DIR function for starters, 
  12. then use the info for a few things.  I made up a class FileData to hold 
  13. the file info.  The prog should work by reading each file, and putting 
  14. the information into a pointer array of FileData that sorts the 
  15. information as it is entered.  Only thing is, I am using the new operator 
  16. to create new instances to be pointed to and sorted into the array is not 
  17. working.  I got this same routine to work with integers, but can't get it 
  18. wo work with the class.  Help!!!
  19.  
  20.  
  21. --
  22. Brad Grossman        "Energy derives from both the plus and negative"    
  23.                                    Metallica, Eye of the Beholder
  24.